//
//  LCRollSectionModel.h
//  Test
//
//  Created by mac on 2019/11/23.
//  Copyright © 2019 SZJ. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "LCRollPosition.h"


typedef NS_ENUM(NSInteger, LCRollDirection) {
    LCRollDirection_Heng,
    LCRollDirection_Shu
};


NS_ASSUME_NONNULL_BEGIN


@interface LCRollItemModel : NSObject

@property (nonatomic,assign) CGSize size;
@property (nonatomic,strong) LCRollPosition * position;


@end

@interface LCRollSectionModel : NSObject

@property (nonatomic,assign) NSInteger section;
@property (nonatomic,assign) NSInteger itemCount;
@property (nonatomic,assign) LCRollDirection rollDirection;
@property (nonatomic,strong) NSMutableArray <LCRollItemModel *> * itemModels;

@property (nonatomic,strong) NSArray <LCRollPosition *> * positions;

@end


@interface LCRollItemCacheModel : NSObject

@property (nonatomic) Class itemClass;
@property (nonatomic,strong) NSString * itemID;
@property (nonatomic,strong) NSMutableArray * itemCacheArr;

@end

NS_ASSUME_NONNULL_END
